import Vue from 'vue'
import Router from 'vue-router'
import RegistrationAgreement from '@/components/RegistrationAgreement'
import ServeAgreement from '@/components/ServeAgreement'
import CompensatoryAgreement from '@/components/CompensatoryAgreement'
import guide from '@/components/guide'
import registerSuccess from '@/components/registerSuccess'

Vue.use(Router)

export default new Router({
    routes: [{
        path: '/',
        name: 'HelloWorld',
        component: guide
    }, {
        path: '/registrationagreement',
        name: 'rgreement',
        component: RegistrationAgreement
    }, {
        path: '/serveagreement',
        name: 'serveagreement',
        component: ServeAgreement
    }, {
        path: '/compensatoryagreement',
        name: 'compensatoryagreement',
        component: CompensatoryAgreement
    }, {
        path: '/guide',
        name: 'guide',
        component: guide
    }, {
        path: '/registerSuccess',
        name: 'registerSuccess',
        component: registerSuccess
    }]
})